package server.response;

import protocol.AbstractPacket;

import java.util.List;
import static protocol.Command.ALLID_RESPONSE;
/**
 * @author czc
 */
public class AllIdResponseMessage extends AbstractPacket {
    private List<String> allId;
    private String all;
    public AllIdResponseMessage(List<String> list, String all) {

        this.allId = list;
        this.all = all;
    }

    public List<String> getAllId() {

        return allId;
    }

    public String getAll() {
        return all;
    }

    @Override
    public Byte getCommand() {

        return ALLID_RESPONSE;
    }
}
